package com.aqie.seckill.service;

import com.aqie.seckill.domain.MiaoshaUser;
import com.aqie.seckill.vo.LoginVo;

import javax.servlet.http.HttpServletResponse;

public interface IUserService {
    public MiaoshaUser getById(long id);

    public boolean updatePassword(String token, long id, String formPass);

    public MiaoshaUser getByToken(HttpServletResponse response, String token);

    public String login(HttpServletResponse response, LoginVo loginVo);
}
